//
//  YXYWallFootCollectionViewCell.m
//  Topit
//
//  Created by dllo on 15/12/14.
//  Copyright © 2015年 YXY. All rights reserved.
//

#import "YXYWallFootCollectionViewCell.h"

@implementation YXYWallFootCollectionViewCell

- (void)dealloc {
    [_myImage release];
    [super dealloc];
}

- (instancetype)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self) {
        self.myImage = [[UIImageView alloc] initWithFrame:CGRectZero];
        [self addSubview:self.myImage];
        [_myImage release];
    }
    return self;
}

- (void)applyLayoutAttributes:(UICollectionViewLayoutAttributes *)layoutAttributes {
    self.myImage.frame = CGRectMake(5, 5, self.width - 10, self.height - 10);
}

@end
